package com.backend.springboot_project_demo.service;

import com.backend.springboot_project_demo.mappers.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DeleteUserService {
    private @Resource UserMapper userMapper;

    public boolean deleteUser(String id) {
        return userMapper.deleteUser(id);
    }
}
